export type addArticleValid = {
    title: string;
    content: string;
    category: string;
    state: boolean
};

export type getListValid = {
    page: number;
    pageSize: number;
    sort: {
        _id: number;
    };
    filter: {
        title: {
            $regex: string;
            $options: string;
        };
        state?: boolean;
    };
};

export type updateListValid = {
    _id: string;
    title: string;
    content: string;
    category: string;
    state: boolean
};